#ifndef __NTP_
#define __NTP_

#define _NTP_SET_IP 		0x00
#define _NTP_SET_INTERVAL	0x01
#define _NTP_SET_CONTROL	0x02

#define _NTP_GET_IP			0x80
#define _NTP_GET_INTERVAL	0x81
#define _NTP_GET_CONTROL	0x82


int ntp_get_svr_ip(char* svrip);
int ntp_set_interval(unsigned int minutes);
unsigned int ntp_get_interval();
void ntp_sig_alarm();
int ntp_control(char cmd, void * pData);
int ntp_Params_Init();
int ntp_set_svr_ip(char* svrip);
unsigned int ntp_get_control();
int ntp_set_control(unsigned int control);
#endif
